projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c62cd9
)
fontchooser: Make sure the tweak button is updated
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 20 Sep 2020 14:55:54 +0000
(10:55 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 20 Sep 2020 14:59:37 +0000
(10:59 -0400)
This was showing up as tweak buttons being visible
when they should not. The code probably relied on
widgets being hidden by default (as they were in
GTK3).
gtk/gtkfontchooserdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfontchooserdialog.c
b/gtk/gtkfontchooserdialog.c
index 6181db6836b3201e85817076d963633809593abf..5c38db7fa8d2b1c2e23f988a1c072a0546054b52 100644
(file)
--- a/
gtk/gtkfontchooserdialog.c
+++ b/
gtk/gtkfontchooserdialog.c
@@
-183,6
+183,8
@@
setup_tweak_button (GtkFontChooserDialog *dialog)
gtk_header_bar_pack_end (GTK_HEADER_BAR (header), button);
dialog->tweak_button = button;
+
+ update_tweak_button (dialog);
}
}